Enclose ?: expression with parens so cast covers all of it.
authorTor Lillqvist <tml@novell.com>
Mon, 4 Aug 2008 23:38:06 +0000 (23:38 +0000)
committerTor Lillqvist <tml@src.gnome.org>
Mon, 4 Aug 2008 23:38:06 +0000 (23:38 +0000)
2008-08-05  Tor Lillqvist  <tml@novell.com>

* gtk/updateiconcache.c (write_bucket): Enclose ?: expression
with parens so cast covers all of it.

svn path=/trunk/; revision=20996

ChangeLog
gtk/updateiconcache.c

index a6a10c45ce74c9c414518f42e7cb2eb4691d8868..0ec0758c235622d3c959879a9e82914beef2c1ba 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,8 @@
+2008-08-05  Tor Lillqvist  <tml@novell.com>
+
+       * gtk/updateiconcache.c (write_bucket): Enclose ?: expression
+       with parens so cast covers all of it.
+
 2008-08-04  Matthias Clasen  <mclasen@redhat.com>
 
        * gtk/gtksettings.c: Improve a setting nick: 'aureal' is not really
index 0f5577a25b1fdfed7902f08f7e3c8a05094c440c..f61291ef1261ea7703fa9c9602b26297531901bf 100644 (file)
@@ -1201,7 +1201,7 @@ write_bucket (FILE *cache, HashNode *node, int *offset)
            }
          else
            {
-             if (!write_card32 (cache, (guint32) image->image_data ? image->image_data->offset : 0))
+             if (!write_card32 (cache, (guint32) (image->image_data ? image->image_data->offset : 0)))
                return FALSE;
            }